//
//  NETWorkTool.h
//  quickDoctor
//
//  Created by zhaowei on 17/3/8.
//  Copyright © 2017年 SWS. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

@interface NETWorkTool : AFHTTPSessionManager

+ (instancetype)sharedTool;
///GET
- (void)GETWithUrlStr:(NSString *)urlStr parameters:(id)parameters success:(void(^)(id))successBlock
              failure:(void(^)(NSError *))failureBlock;
/// POST
- (void)POSTWithUrlStr:(NSString *)urlStr parameters:(id)parameters success:(void(^)(id))successBlock
              failure:(void(^)(NSError *))failureBlock;

@end
